@mixin transition($transition-property, $transition-time, $method) {
  transition: $transition-property $transition-time $method;
}

@mixin opacity($opacity) {
  opacity: $opacity;
}
.Yep-carousel-root {
  outline: none;
  align-items: center;
  display: flex;
}

.Yep-carousel {
  position: relative;
  width: 100%;

  img {
    width: 100%;
    display: inline-block;
    pointer-events: none;
  }

  &.Yep-carousel-slider {
    position: relative;
    margin: 0;
    overflow: hidden;
  }

  .Yep-slider-wrapper {
    overflow: hidden;
    margin: auto;
    width: 100%;
    @include transition(height, 0.15s, ease-in);

    &.axis-horizontal {
      .Yep-slider {
        display: flex;

        .Yep-slide {
          flex-direction: column;
          flex-flow: column;
        }
      }
    }

    &.axis-vertical {
      display: flex;

      .Yep-slider {
        flex-direction: column;
      }
    }
  }

  .Yep-slider {
    margin: 0;
    padding: 0;
    position: relative;
    list-style: none;
    width: 100%;

    &.animated {
      @include transition(all, 0.35s, ease-in-out);
    }
  }

  .Yep-slide {
    min-width: 100%;
    margin: 0;
    position: relative;
    text-align: center;
    img {
      width: 100%;
      vertical-align: top;
      border: 0;
    }

    iframe {
      display: inline-block;
      width: calc(100% - 80px);
      margin: 0 40px 40px;
      border: 0;
    }

    .legend {
      @include transition(all, 0.5s, ease-in-out);
      position: absolute;
      bottom: 40px;
      left: 50%;
      margin-left: -45%;
      width: 90%;
      border-radius: 10px;
      background: #000;
      color: #fff;
      padding: 10px;
      font-size: 12px;
      text-align: center;
      opacity: 0.25;
      @include transition(opacity, 0.35s, ease-in-out);
    }
  }

  .Yep-control-dots {
    position: absolute;
    bottom: 0;
    margin: 10px 0;
    text-align: center;
    width: 100%;

    .Yep-dot {
      @include transition(opacity, 0.25s, ease-in);
      @include opacity(0.3);
      box-shadow: 1px 1px 2px rgba(#000, 0.9);
      background: #fff;
      border-radius: 50%;
      width: 8px;
      height: 8px;
      cursor: pointer;
      display: inline-block;
      margin: 0 8px;

      &.selected {
        @include opacity(1);
      }
    }
  }

  .Yep-carousel-status {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 30px;
    bottom: 60px;
    width: 80px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 22px;
    font-size: 28px;
    color: rgba(255, 255, 255, 1);
  }
}
